/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package cz.mzk.kramerius.rukopisyimport.foxml;

import cz.mzk.kramerius.imports.Foxml;
import java.util.ArrayList;
import java.util.List;

/**
 *
 * @author Martin Rehanek (rehan@mzk.cz)
 */
public class InternalPart extends Foxml {

    private final String pageFrom;
    private final String pageTo;
    private final String note;
    private final String title;
    private final List<String> pagePidList = new ArrayList<String>();

    InternalPart(String uuid, String title, String pageFrom, String pageTo, String note) {
        super(uuid, title);
        this.pageFrom = pageFrom;
        this.pageTo = pageTo;
        this.note = note;
        this.title = title;
    }

    public String getPageFrom() {
        return pageFrom;
    }

    public String getPageTo() {
        return pageTo;
    }

    public String getTitle() {
        return title;
    }

    public String getNote() {
        return note;
    }

    public void addPagePid(String pid) {
        getPagePidList().add(pid);
    }

    /**
     * @return the pagePidList
     */
    public List<String> getPagePidList() {
        return pagePidList;
    }
}
